FROM node:carbon

WORKDIR /app

COPY . .

RUN npm i --registry=https://registry.npm.taobao.org

RUN npm run build

CMD [ "npm", "start" ]
